home *** CD-ROM | disk | FTP | other *** search
- Path: news.herts.ac.uk!cs4ed
- From: cs4ed@herts.ac.uk (Some CS student)
- Newsgroups: comp.lang.c
- Subject: Borland OWL Combo Boxes
- Date: 10 Jan 1996 22:32:00 GMT
- Organization: University of Hertfordshire
- Message-ID: <4d1ep0$ema@helios.herts.ac.uk>
- NNTP-Posting-Host: altair.herts.ac.uk
- X-Newsreader: TIN [version 1.2 PL2]
-
- I am writing a MS-Windows program using Borland's C++ 4.51, with the
- OWL (Object Windows Library).
-
- ... Is this cause enough for sympathy already?
- ... Or is it just me?
-
- Because, I'm having trouble creating Combo Boxes without causing a GPF.
-
- MyCombo=new TCombobox(this, IDC_MYCOMBOBOX);
-
- means that whenever the dialog which contains it is closed with an IDOK,
- and when the application is closed (whether or not that dialog is used),
- a GPF is caused. Taking out the above line, as well as out of the
- TransferBuffer declarations, and the Combo Box's own initialisations
- ( such as MyCombo->AddString("Hello"); etc. ) means no GPF.
-
-
- Please, oh Gurus, what am I doing wrong??!!!
-
- (if not for me, then please answer for the sake of the PC - it's
- going to get a hammer through it pretty soon at this rate!)
-
- Thanks,
-
- Steve.
- --
- Steve G Parker
- 4th Year Computer Science BSc (Hons), University of Hertfordshire, UK
- ----------------------------------------------------------------------
- Computer Architecture, Operating Systems, Computer Networks, Practical
- Uses of Network Technology, User Centred Design
-